<div class="list_photo">
    <div class="left_content">
        <?if($files[0] instanceof File):?>
        
        <img src="<?= Yii::app()->createUrl('/').'/'.$files[0]->file; ?>"  alt="<?= $file->desc; ?>" />
        <?endif;?>
    </div>
    <div class="right_content">
        <?
        if (count($files)>1)
        foreach ($files as $p => $file):
            $img = $file->file;
        ?>

            <img src="<?= Yii::app()->createUrl('/').'/'.$img; ?>"  alt="<?= $file->desc; ?>" width="100" />

        <? endforeach; ?>
    </div>
</div>

          